package com.imut.hcdp.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.imut.hcdp.mapper.HcdpTrainRouteDetailMapper;
import com.imut.hcdp.domain.HcdpTrainRouteDetail;
import com.imut.hcdp.service.IHcdpTrainRouteDetailService;


@Service
public class HcdpTrainRouteDetailServiceImpl implements IHcdpTrainRouteDetailService
{
    @Autowired
    private HcdpTrainRouteDetailMapper hcdpTrainRouteDetailMapper;


    @Override
    public HcdpTrainRouteDetail selectHcdpTrainRouteDetailById(Long id)
    {
        return hcdpTrainRouteDetailMapper.selectHcdpTrainRouteDetailById(id);
    }


    @Override
    public List<HcdpTrainRouteDetail> selectHcdpTrainRouteDetailList(HcdpTrainRouteDetail hcdpTrainRouteDetail)
    {
        return hcdpTrainRouteDetailMapper.selectHcdpTrainRouteDetailList(hcdpTrainRouteDetail);
    }


    @Override
    public int insertHcdpTrainRouteDetail(HcdpTrainRouteDetail hcdpTrainRouteDetail)
    {
        return hcdpTrainRouteDetailMapper.insertHcdpTrainRouteDetail(hcdpTrainRouteDetail);
    }


    @Override
    public int updateHcdpTrainRouteDetail(HcdpTrainRouteDetail hcdpTrainRouteDetail)
    {
        return hcdpTrainRouteDetailMapper.updateHcdpTrainRouteDetail(hcdpTrainRouteDetail);
    }


    @Override
    public int deleteHcdpTrainRouteDetailByIds(Long[] ids)
    {
        return hcdpTrainRouteDetailMapper.deleteHcdpTrainRouteDetailByIds(ids);
    }


    @Override
    public int deleteHcdpTrainRouteDetailById(Long id)
    {
        return hcdpTrainRouteDetailMapper.deleteHcdpTrainRouteDetailById(id);
    }
}
